<template>
  <div>
    <h1>Login</h1>
    <a-input
      v-decorator="[
        'email',
        {
          rules: [
            {
              type: 'email',
              message: 'The input is not valid E-mail!'
            },
            {
              required: true,
              message: 'Please input your E-mail!'
            }
          ]
        }
      ]"
    />
  </div>
</template>

<script>
export default {
  // name: "Login",
};
</script>

<style scoped lang="less"></style>
